PRINT N'Installing assembly';
GO

CREATE ASSEMBLY [SqlServerCodeflowDispatcher]
    AUTHORIZATION [dbo]
    FROM $(assemblypath)
    WITH PERMISSION_SET = UNSAFE;
GO

CREATE PROCEDURE DispatchCodeflow
@codeflowId UNIQUEIDENTIFIER,
@result INT OUTPUT
AS
EXTERNAL NAME SqlServerCodeflowDispatcher.StoredProcedures.DispatchCodeflow
GO 